package com.cskaoyan.service;

import com.cskaoyan.bean.BaseData;
import com.cskaoyan.bean.bo.CouponParam;
import com.cskaoyan.bean.bo.ListuserParam;
import com.cskaoyan.bean.pojo.MallCoupon;
import com.cskaoyan.bean.pojo.MallCouponUser;

import java.util.List;

/**
 * @author JJ
 * @description CouponService优惠卷接口
 * @time 2021/7/9 11:42
 */
public interface CouponService {

    BaseData<MallCoupon> listCoupon(CouponParam param);


    Integer createCoupon(MallCoupon param);

    List<MallCoupon> queryCoupon(MallCoupon param);

    Integer updateCoupon(MallCoupon param);

    Integer deleteCoupon(MallCoupon param);

    MallCoupon readCoupon(Integer id);

    BaseData<MallCouponUser> listuserByCoupon(ListuserParam param);
}
